package query

type SysDevFuncQuery struct {
	Id           string `form:"id" search:"type:exact;column:id;table:sys_dev_func"`
	Sn           string `form:"sn" search:"type:exact;column:dev_sn;table:sys_dev_func"`
	ProductModel string `form:"productModel" search:"type:exact;column:product_model;table:sys_dev_func"`
	ProductId    string `form:"productId"  search:"type:exact;column:dev_product_id;table:sys_dev_func"`

	SnIn        []string `search:"type:in;column:dev_sn;table:sys_dev_func"`
	ProductIdIn []string `search:"type:in;column:dev_product_id;table:sys_dev_func"`
	SnOrPm      string   `search:"type:eqOr;column:dev_sn,product_model;table:sys_dev_func"`
}

func (m *SysDevFuncQuery) GetNeedSearch() interface{} {
	return *m
}
